﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace ForexService
{
    // Use a data contract as illustrated in the sample below to add composite types to service operations.
    [DataContract]
    public class ForexCity
    {
        string city;
        string sessionStatus;
        string sessionMessage;

        public ForexCity(string cityName)
        {
            city = cityName;
        }

        [DataMember]
        public String City
        {
            get { return city; }
            set { city = value; }
        }
        
        [DataMember]
        public String SessionStatus
        {
            get { return sessionStatus; }
            set { sessionStatus = value; }
        }

        [DataMember]
        public String SessionMessage
        {
            get { return sessionMessage; }
            set { sessionMessage = value; }
        }

        [DataMember]
        public String SessionBeginTime
        {
            get { return sessionMessage; }
            set { sessionMessage = value; }
        }

        [DataMember]
        public String SessionEndTime
        {
            get { return sessionMessage; }
            set { sessionMessage = value; }
        }
    }
}
